using System.ComponentModel;
using Furion.FriendlyException;

namespace Admin.NET.Application.Enums;

/// <summary>
/// 系统错误码
/// </summary>
[ErrorCodeType]
[Description("业务错误码")]
public enum ErrorCodeEnumEx
{
	/// <summary>
	/// 请稍后再试
	/// </summary>
	[ErrorCodeItemMetadata("请稍后再试", new object[] { })]
	X1001,
	/// <summary>
	/// 会话超时，请稍后再试
	/// </summary>
	[ErrorCodeItemMetadata("会话超时，请稍后再试", new object[] { })]
	X1002,
	/// <summary>
	/// 设备离线
	/// </summary>
	[ErrorCodeItemMetadata("设备离线", new object[] { })]
	X1003,
	/// <summary>
	/// 设备离线
	/// </summary>
	[ErrorCodeItemMetadata("设备下发失败", new object[] { })]
	X1004
}
